package ooday02.text;

/**
 * 说明:
 *
 * @author:SuZhongHe
 * @date:2023/2/22
 **/
public class Text {
    public static void main(String[] args) {
        Fish fish = new Fish("小明", 12, "白");
        fish.drink();
        fish.eat();
        Chick chick = new Chick("小黄", 11, "黄");
        chick.eat();
        chick.drink();
        chick.layEggs();
        Dog dog = new Dog("小黑", 2, "红");
        dog.lookHouse();
        dog.drink();
        dog.eat();


    }
}
